#include <stdio.h>

typedef void*(*myfuncp)(void*);

int myfun1(int a)
{
	printf("func1\n");
	return a+1;
}

char myfun2(char temp2)
{
	printf("func2\n");
	return temp2;
}

int main(int argc, const char *argv[])
{
	myfuncp myparr[2];
	myparr[0]=myfun1;
	myparr[1]=myfun2;
	int temp1=5;
	int ret1=(*myparr[0])(temp1);
	printf("%d\n",ret1);

	char temp2='a';
	char ret2 = (*myparr[1])(temp2);
	printf("%c\n",ret2);
	return 0;
}
